package org.flexharmony.eclipse.domain;

import org.eclipse.core.runtime.IPath;

public class IncludedSourceFolder
{
  public final String name;
  
  public final IPath folderPath;
  
  private InclusionFilter includedFilter;
  
  private ExclusionFilter excludedFilter;
  
  public IncludedSourceFolder(IPath folderPath)
  {
    this.name = folderPath.lastSegment();
    this.folderPath = folderPath;
  }
  
  public InclusionFilter getIncludedFilter()
  {
    return includedFilter;
  }

  public void setIncludedFilter(InclusionFilter inclusionFilter)
  {
    this.includedFilter = inclusionFilter;
  }

  public ExclusionFilter getExcludedFilter()
  {
    return excludedFilter;
  }

  public void setExcludedFilter(ExclusionFilter exclusionFilter)
  {
    this.excludedFilter = exclusionFilter;
  }

  public String toString()
  {
    return folderPath.toString();
  }
}
